space
Previous Page | Next Page

SAS Namespace Types

SASLibrary


Subclass of RelationalSchema


Overview

Represents a SAS library. A SAS library is a collection of one or more SAS files that are recognized by SAS software and that are referenced and stored as a unit. Each file is a member of the library. SAS libraries are accessed with a LIBNAME statement. The LIBNAME statement specifies the data engine and any required or optional parameters for accessing the data source. The SASLibrary metadata type stores the LIBNAME statement arguments necessary to access a particular data source in a metadata repository.

Security Inheritance and Enforcement Rules

The following list of associations is used to determine if this object should inherit access controls from another object (inheritance), or if the association is allowed for the object (enforcement). An association will not be created unless the calling user is authorized to update one or both objects involved in the association. For more information about inheritance and enforcement rules, see the SAS Intelligence Platform: Security Administration Guide.

Attributes

Name Description Type Length
Engine The engine specification used by the SAS LIBNAME statement.   String 8  
IsDBMSLibname A boolean that indicates whether this library uses a connection to an external database server.   int  
IsPreassigned This boolean indicates whether the library is pre-assigned in the SAS session. If true, the other attributes of this object that contain information used by a LIBNAME statement may be provided for documentation purposes only but is not required to access the library, because the LIBNAME has been assigned via some other mechanism.   int  
Libref The libref used by the SAS LIBNAME statement.   String 8  

Inherited Attributes
Name, Id, Desc, MetadataCreated, MetadataUpdated, ChangeState, IsHidden, LockedBy, PublicType, UsageVersion

Associations

= indicates the resident side of an association, or where the association is persisted for cross-repository associations. If no resident side is indicated, this association may not cross repository boundaries.
Name Cardinality Description Associated Types
DefaultLogin

Partner: Libraries

0 to 1 The default login to use for this library.  Login
LibraryConnection

Partner: Libraries

0 to 1 The connection to a DBMS server or a SAS server.  SASClientConnection
SASCatalogs

Partner: Libraries

0 to * The catalogs contained in this library.  SASCatalog

Inherited Associations
AccessControls/Objects, Aliases/AliasFor, AliasFor/Aliases, Changes/Objects, CustomAssociations/OwningObject, DeployedComponents/DataPackages, Documents/Objects, Extensions/OwningObject, ExternalIdentities/OwningObject, FavoritesContainers/Favorites, Groups/Members, Implementors/ImplementedObjects, Keywords/Objects, LocalizedAttributes/AssociatedLocalizedObject, Notes/Objects, PrimaryPropertyGroup/AssociatedObject, Prompts/PromptEnabledObject, Properties/AssociatedObject, PropertySets/OwningObject, ReferencedObjects/AssociatedObjects, ResponsibleParties/Objects, SchemaPackage/Schemas, SourceTransformations/TransformationSources, SpecSourceTransformations/SourceSpecifications, SpecTargetTransformations/TargetSpecifications, TableCollections/CollectionLocations, Tables/TablePackage, TargetTransformations/TransformationTargets, Timestamps/Objects, Trees/Members, TSObjectNamespace/TSObjects, UsedByPackages/UsingPackages, UsedByPrototypes/UsingPrototype, UsingPackages/UsedByPackages, UsingPrototype/UsedByPrototypes, Variables/AssociatedObject

Attribute Details

Engine
     Type:  String 8  

The engine specification used by the SAS LIBNAME statement.

IsDBMSLibname
     Type:  int  

A boolean that indicates whether this library uses a connection to an external database server.

IsPreassigned
     Type:  int  

This boolean indicates whether the library is pre-assigned in the SAS session. If true, the other attributes of this object that contain information used by a LIBNAME statement may be provided for documentation purposes only but is not required to access the library, because the LIBNAME has been assigned via some other mechanism.

Libref
     Type:  String 8  

The libref used by the SAS LIBNAME statement.

Association Details

DefaultLogin
     Cardinality:   0 to 1
     Partner:   Libraries

The default login to use for this library. 

Associated Types:
Login

LibraryConnection
     Cardinality:   0 to 1
     Partner:   Libraries

The connection to a DBMS server or a SAS server. 

Associated Types:
SASClientConnection

SASCatalogs
     Cardinality:   0 to *
     Partner:   Libraries

The catalogs contained in this library. 

Associated Types:
SASCatalog

Previous Page | Next Page | Top of Page